package com.mycompany.app.common.ajax.autocompleter.domain;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.mycompany.app.common.entity.ToStringEntity;

@SuppressWarnings({ "serial", "unchecked" })
@Entity
@Table(name = "countries")
public class Country extends ToStringEntity{
    
    private Long id;
    
    private String value;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    public Long getId() {
    
        return id;
    }

    public void setId(Long id) {
    
        this.id = id;
    }

    public String getValue() {
    
        return value;
    }

    public void setValue(String value) {
    
        this.value = value;
    }
}
